/*
 * @Author: qinglong
 * @Date: 2021-04-20 17:11:08
 * @LastEditors: qinglong
 * @LastEditTime: 2021-05-14 10:21:40
 * @FilePath: \systemCenter\src\api\ftpManage\userOrganApi.js
 * @Description: ftp 用户权限配置api 
 */
// 引入工具类
import axios from '../config'

// 使用
const URL = 'api-ftp' //
export const userOrgan = {
    //userId 查询业务机构
	treeOrganByUser(data) {
		return axios.post(URL + '/ftp/positionresult/BizUserOrgan/treeOrganByUser', data)
    },
    
    //userId 查询业务机构
    saveRelationByUser(data) {
        return axios.post(URL + '/ftp/positionresult/BizUserOrgan/saveRelationByUser', data)
    },

    //查询登陆用户的权限机构
    queryCurrentUserOrgTree() {
        return axios.post(URL + '/ftp/positionresult/BizUserOrgan/queryCurrentUserOrgTree')
    },

}
